import request from '@/utils/request'

/* 列表分页*/
export function selectStockOutPage(data) {
  return request({
    url: '/erp/stockOut/selectStockOutPage',
    method: 'post',
    data: data
  })
}

/* 列表分页*/
export function selectStockOutList(data) {
  return request({
    url: '/erp/stockOut/selectStockOutList',
    method: 'post',
    data: data
  })
}

/* 新增*/
export function saveStockOut(data) {
  return request({
    url: '/erp/stockOut/saveStockOut',
    method: 'post',
    data: data
  })
}

/* 修改*/
export function updateStockOutById(data) {
  return request({
    url: '/erp/stockOut/updateStockOutById',
    method: 'post',
    data: data
  })
}

/* 根据id查询*/
export function selectStockOutById(data) {
  return request({
    url: '/erp/stockOut/selectStockOutById/' + data,
    method: 'post'
  })
}

/* 删除*/
export function deleteStockOut(data) {
  return request({
    url: '/erp/stockOut/deleteStockOut',
    method: 'post',
    data: data
  })
}
